package com.platform;

import org.apache.log4j.Logger;

/**
 * Created with IntelliJ IDEA.
 * User: wangyanginfo
 * Date: 13-1-9
 * Time: 上午10:19
 * To change this template use File | Settings | File Templates.
 */
public class Log4jDemo {

    private static Logger logger = Logger.getLogger(Log4jDemo.class);

    public static void main(String[] args) {
        logger.error("测试ERROR信息！");
        logger.warn("测试WARN信息");
        logger.info("测试INFO信息");
        logger.debug("测试DEBUG信息");
		logger.fatal("测试FATAL信息");
    }

}
